-- GENERATED SPELL FOR [Sandfury Zealot] --


function spell0_8877(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_8877', 609, 1)
end

function Sorts_8877(pUnit, Event)
local choix_sorts_8877 = math.random(0, 0)
if choix_sorts_8877 == 0 then
pUnit:RegisterEvent('spell0_8877', 1, 1)
end
end

function mob8877_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8877', math.random(1500, 3000), 1)
end

function mob8877_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8877_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8877_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8877, 1, 'mob8877_Action')
RegisterUnitEvent(8877, 2, 'mob8877_Leave')
RegisterUnitEvent(8877, 3, 'mob8877_Kill')
RegisterUnitEvent(8877, 4, 'mob8877_Die')
